﻿namespace ClassLibrary.BusinessLayer.BusinessObjects
{
    using System;

    [Serializable, ClassTable("HeadingSetTmplt", true)]
    public class ProcedureSetTmplt : ParentTableClass
    {
        private DateTime dteCreateDate;
        private DateTime dteUpdateDate;
        private int intSection;
        private string strCreateBy;
        private string strHeadingCode;
        private string strHeadingCodeName;
        private string strHeadingName;
        private string strHeadingSet;
        private string strOwnerGroupID;
        private string strUpdateBy;

        [ClassProperty(false, true, false, false, false, "HeadingSet", "@HeadingSet", ClassPropertyAttribute.DBTypes.Varchar)]
        public string _HeadingSet
        {
            get
            {
                return this.strHeadingSet;
            }
            set
            {
                this.strHeadingSet = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "CreateBy", "@CreateBy", ClassPropertyAttribute.DBTypes.Varchar)]
        public string CreateBy
        {
            get
            {
                return this.strCreateBy;
            }
            set
            {
                this.strCreateBy = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "CreateDate", "@CreateDate", ClassPropertyAttribute.DBTypes.DateTime)]
        public DateTime CreateDate
        {
            get
            {
                return this.dteCreateDate;
            }
            set
            {
                this.dteCreateDate = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "HeadingCode", "@HeadingCode", ClassPropertyAttribute.DBTypes.Varchar)]
        public string HeadingCode
        {
            get
            {
                return this.strHeadingCode;
            }
            set
            {
                this.strHeadingCode = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "HeadingCodeName", "@HeadingCodeName", ClassPropertyAttribute.DBTypes.Varchar)]
        public string HeadingCodeName
        {
            get
            {
                return this.strHeadingCodeName;
            }
            set
            {
                this.strHeadingCodeName = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "HeadingName", "@HeadingName", ClassPropertyAttribute.DBTypes.Varchar)]
        public string HeadingName
        {
            get
            {
                return this.strHeadingName;
            }
            set
            {
                this.strHeadingName = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "OwnerGroupID", "@OwnerGroupID", ClassPropertyAttribute.DBTypes.Varchar)]
        public string OwnerGroupID
        {
            get
            {
                return this.strOwnerGroupID;
            }
            set
            {
                this.strOwnerGroupID = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "Section", "@Section", ClassPropertyAttribute.DBTypes.Integer)]
        public int Section
        {
            get
            {
                return this.intSection;
            }
            set
            {
                this.intSection = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "UpdateBy", "@UpdateBy", ClassPropertyAttribute.DBTypes.Varchar)]
        public string UpdateBy
        {
            get
            {
                return this.strUpdateBy;
            }
            set
            {
                this.strUpdateBy = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "UpdateDate", "@UpdateDate", ClassPropertyAttribute.DBTypes.DateTime)]
        public DateTime UpdateDate
        {
            get
            {
                return this.dteUpdateDate;
            }
            set
            {
                this.dteUpdateDate = value;
            }
        }
    }
}

